package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public class Remittance {
    private Integer id;
    private String relationship;
    private String uid;
    private Integer money;
    private String reason;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime create_time;
    private String name;
    private Integer yinmoney;

    public Remittance() {
    }

    public Remittance(Integer id, String relationship, String uid, Integer money, String reason, LocalDateTime create_time, String name, Integer yinmoney) {
        this.id = id;
        this.relationship = relationship;
        this.uid = uid;
        this.money = money;
        this.reason = reason;
        this.create_time = create_time;
        this.name = name;
        this.yinmoney = yinmoney;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return relationship
     */
    public String getRelationship() {
        return relationship;
    }

    /**
     * 设置
     * @param relationship
     */
    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    /**
     * 获取
     * @return uid
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置
     * @param uid
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取
     * @return money
     */
    public Integer getMoney() {
        return money;
    }

    /**
     * 设置
     * @param money
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    /**
     * 获取
     * @return reason
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置
     * @param reason
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 获取
     * @return create_time
     */
    public LocalDateTime getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return yinmoney
     */
    public Integer getYinmoney() {
        return yinmoney;
    }

    /**
     * 设置
     * @param yinmoney
     */
    public void setYinmoney(Integer yinmoney) {
        this.yinmoney = yinmoney;
    }

    public String toString() {
        return "Remittance{id = " + id + ", relationship = " + relationship + ", uid = " + uid + ", money = " + money + ", reason = " + reason + ", create_time = " + create_time + ", name = " + name + ", yinmoney = " + yinmoney + "}";
    }
}
